package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizBusiness;

/**
 * @description (商户表)
 * @author 姜友瑶
 * @date 2018-09-06 06:30
 */
public interface BizBusinessDao{

	public int insert(@Param("item") BizBusiness bizBusiness);
   	
   	public int batchInsert(@Param("list") List<BizBusiness> bizBusinessList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizBusiness bizBusiness);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String busId);

	public int deleteByModel(@Param("record") BizBusiness bizBusiness);
	
	public List<BizBusiness> selectInPage(@Param("record") BizBusiness bizBusiness, @Param("pageVo") PaginationVO pageVo);

	public List<BizBusiness> selectByModel(@Param("record") BizBusiness bizBusiness);
	
	public int selectTotalRecord(@Param("record") BizBusiness bizBusiness);
	
	public BizBusiness  selectById(String busId);
	
	public BizBusiness  selectForUpdate(String busId);
	
	public BizBusiness  findByUserOpenId(String openId);
	
	
	
}